package com.monkeybrother.spring.config;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @Desc
 * @Author houruiyang
 * @Date 2022/6/6
 **/
@Component
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class PrototypeComponent {

    public PrototypeComponent() {
        System.out.println("原型 " + System.currentTimeMillis());
    }
}
